﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;

namespace Prototype
{
    public class PayingType
    {
        private string name;

        public string Name
        {
            get
            {
                return name;
            }
            set
            {
            }
        }

        private PayingType(string name)
        {
            this.name = name;
        }
    
        public static void Insert(string name)
        {
            string connString = ConfigurationManager.ConnectionStrings[0].ToString();
            SqlConnection conn = new SqlConnection(connString);
            string commandString = "aaa";
            SqlCommand command = new SqlCommand(commandString, conn);
        }

        /*
        public static PayingType Get()
        {
           return 
        }
        */

        public void Remove(string name)
        {
            throw new System.NotImplementedException();
        }

        public void Change(string name)
        {
            throw new System.NotImplementedException();
        }
    }
}
